package com.seek.service;

import java.util.Map;

import com.seek.core.BaseService;
import com.seek.model.entity.TCustomer;

public interface CustomerService extends BaseService<TCustomer> {
	// 获取客户的基本资料
	public Map<String,Object> getBaseCustomerInfo(String companyId, String phoneNo) throws Exception;
	
	public boolean checkPhoneExists(String phoneNo, String excludeId) throws Exception;
	
	public void activeCustomer(String custId, String clientid, String agentId, String subAgentId) throws Exception;

	/**更新客户某项认证状态**/
	int updateAuthStatus(String column ,Integer status,Integer oldStatus, Long custId,Long companyId) throws Exception;
	
	// 客户实名认证审核
	public void certifyAudit(Long custId, String userId, int auditStatus, String auditRemark) throws Exception;
	
	// 客户支付宝认证审核
	public void zfbAudit(Long custId, String userId, int auditStatus, String auditRemark,int zfbCredit) throws Exception;
	
	// 客户拉黑或洗白
	public void setCustBlack(Long custId, int status) throws Exception;
	
	public void reCertiyMobile() throws Exception;
	
	public void reCertiyZfb() throws Exception;
}